﻿using System.Collections.Generic;
using System.ServiceModel;
using System.ServiceModel.Web;
using Sps.Abrs.Model;

namespace ABRS.WEB.Services.Rest
{
    [ServiceContract]
    public interface ILayerService
    {
        [OperationContract]
        [WebGet(UriTemplate = "layersinfo")]
        List<LayerWithField> GetLayerInfos();

        [OperationContract]
        [WebGet(UriTemplate = "fieldsinfo")]
        List<LayerField> GetLayerFieldsInfos();
    }
}
